package com.v2coding.validate;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.v2coding.mybatis.enmus.EnumSerializer;

@JsonSerialize(
        using = EnumSerializer.class
)
public interface BaseEnum<E extends Enum<?>, T> {
    String getLabel();

    T getValue();

    E getEnum(T value);
}
